package com.lbd.system.dao;

import com.lbd.system.bean.RecordProperty;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.io.Serializable;
import java.util.List;

/**
 * Created by zzl on 2016/9/12.
 */
public interface RecordPropertyRepository extends PagingAndSortingRepository<RecordProperty, Serializable>, JpaSpecificationExecutor<RecordProperty> {
    /**
     * 根据交易记录ID查询记录详情
     *
     * @param recordId
     * @return
     */
    List<RecordProperty> findByRecordId(String recordId);
}
